package com.cgbg.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cgbg.pojo.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 城管不管
 * @description 针对表【tb_article】的数据库操作Mapper
 * @createDate 2025-10-18 19:58:33
 * @Entity com.cgbg.pojo.Article
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    /**
     * 首页文章列表
     *
     * @param page
     * @param categoryId
     * @param tagId
     * @param year
     * @param month
     * @return
     */
    Page<Article> listArticle(Page<Article> page, Long categoryId, Long tagId, String year, String month);
}




